package com.bbs.dao;

import java.util.List;

import com.bbs.model.Privilege;
import com.bbs.model.User;

public interface PrivilegeDao {

	int save(Privilege privilege);

	int update(Privilege privilege);

	int delete(int id);

	List<Privilege> findAll();

	boolean checkPrivilege(User user, Privilege privilege);

}
